package com.wzd.imservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ProjectName: e_learning
 * @Package: com.wzd.imservice.client
 * @ClassName: OrderClient
 * @Author: lofxve
 * @Description:
 * @Date: 2021/5/10 17:11
 * @Version: 1.0
 */
@Component
@FeignClient(value = "service-order")
public interface OrderClient {
    //查询订单信息
    @GetMapping("/orderservice/order/isBuyCourse/{memberid}/{id}")
    public boolean isBuyCourse(@PathVariable("memberid") String memberid, @PathVariable("id") String id);
}
